//
//  TLoginViewModel.h
//  Tikeyc
//
//  Created by ways on 16/8/26.
//  Copyright © 2016年 tikeyc. All rights reserved.
//

#import <Foundation/Foundation.h>

#import "XGFMDBTool.h"
#import "TUserInfoModel.h"

@interface TLoginViewModel : NSObject


@property (nonatomic,strong)TUserInfoModel *userInfoModel;

@property (nonatomic,strong)RACSignal *loginButtonEnableSignal;
@property (nonatomic,assign)BOOL loginButtonEnable;

@property (nonatomic,strong)RACCommand *requestCommand;

- (instancetype)initLoginViewModel;



/**
 Description 登录运旺OoenIM
 */
- (void)tryLoginOpenIMWithSuccessBlock:(void(^)())aSuccessBlock
                           failedBlock:(void (^)(NSError *))aFailedBlock;

@end
